package abstractfactory

func DeployApplication(factory CloudFactory)  {
	compute := factory.CreateComputeResource("t2.micro")
	storage := factory.CreateStorageResource("my-bucket")
	network := factory.CreateNetworkResource("my-lb")

	compute.Start()
	storage.Upload("my-file.txt")
	network.CreateLoadBalancer()
}